/************************************************************************

								Heroes IV
					  Copyright 2000, The 3DO Company

	------------------------------------------------------------------
  						 player_color.cpp

	$Header: /heroes4/player_color.cpp $

	$NoKeywords: $

 ************************************************************************/

#include "precompiled.h"
#include "player_color.h"

#include <cassert>

#include "external_string.h"

char const * const k_player_color_keyword[k_player_color_count] =
{
	"red", "blue", "green", "orange", "purple", "teal", "gray"
};

std::string get_player_color_name( t_player_color color )
{
	assert( color >= 0 && color < k_player_color_count );

	static t_external_string const k_player_color_name_array[ k_player_color_count ] =
	{
		t_external_string( "red.color" ),
		t_external_string( "blue.color" ),
		t_external_string( "green.color" ),
		t_external_string( "orange.color" ),
		t_external_string( "purple.color" ),
		t_external_string( "teal.color" ),
		t_external_string( "gray.color" ),
	};

	return k_player_color_name_array[ color ];
}
